public class Exercise0044 {
    public static void main(String[] args) {
        int a = 1;
        switch(a) {
            case 1:
                System.out.println("a=1");
                break;
            case 2 :
                System.out.println("a=2");
                break;
            default:
                System.out.println("无匹配");
        }
    }
}
